package com.walter.vo.content;

import io.swagger.annotations.*;
import lombok.Data;

import java.io.Serializable;

/**
 * 文章列表内容
 *
 * @author wuchenxi
 * @date 2020-08-08 11:17:09
 */
@Data
@ApiModel
public class ContentListVO implements Serializable {

    /**
     * 文章id
     */
    @ApiModelProperty(name = "id", value = "文章id")
    private String id;

    /**
     * 标题
     */
    @ApiModelProperty(name = "title", value = "文章标题")
    private String title;

    /**
     * 副标题
     */
    @ApiModelProperty(name = "secondTitle", value = "文章副标题")
    private String secondTitle;

    /**
     * 文章发表时间
     */
    @ApiModelProperty(name = "createDate", value = "文章发表时间")
    private String createDate;

    @ApiModelProperty(name = "url", value = "文章链接")
    private String url;

    @ApiModelProperty(name = "nickname", value = "昵称")
    private String nickname;

    @ApiModelProperty(name = "state", value = "1：草稿；2：已发布文章")
    private Integer state;

    @ApiModelProperty(name = "type", value = "原创、转载")
    private String type;

    /**
     * 阅读数
     */
    @ApiModelProperty(name = "readCount", value = "阅读数")
    private String readCount;
}
